/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class Trp_socio_ecoCriteria extends AbstractORMCriteria {
	public final StringExpression so_id_socio_e;
	public final StringExpression so_des_socio_e;
	
	public Trp_socio_ecoCriteria(Criteria criteria) {
		super(criteria);
		so_id_socio_e = new StringExpression("so_id_socio_e", this);
		so_des_socio_e = new StringExpression("so_des_socio_e", this);
	}
	
	public Trp_socio_ecoCriteria(PersistentSession session) {
		this(session.createCriteria(Trp_socio_eco.class));
	}
	
	public Trp_socio_ecoCriteria() throws PersistentException {
		this(orm.Basededatosv5PersistentManager.instance().getSession());
	}
	
	public Trp_colegioCriteria createTrp_colegioCriteria() {
		return new Trp_colegioCriteria(createCriteria("ORM_Trp_colegio"));
	}
	
	public Trp_socio_eco uniqueTrp_socio_eco() {
		return (Trp_socio_eco) super.uniqueResult();
	}
	
	public Trp_socio_eco[] listTrp_socio_eco() {
		java.util.List list = super.list();
		return (Trp_socio_eco[]) list.toArray(new Trp_socio_eco[list.size()]);
	}
}

